package cn.xd.itstack.springframework.aop;

import cn.xd.itstack.springframework.aop.framework.ReflectiveMethodInvocation;
import org.aopalliance.intercept.MethodInterceptor;

/**
 * @Classname AdvisedSupport
 * @Description TODO
 * @Date 2022/6/4 下午5:27
 * @Created by lvxiaodong
 */
public class AdvisedSupport {


    private boolean proxyTargetClass = false;

    private TargetResource targetResource;


    private MethodInterceptor methodInterceptor;


    private MethodMatcher methodMatcher;


    public TargetResource getTargetResource() {
        return targetResource;
    }

    public void setTargetResource(TargetResource targetResource) {
        this.targetResource = targetResource;
    }


    public MethodInterceptor getMethodInterceptor() {
        return methodInterceptor;
    }

    public void setMethodInterceptor(MethodInterceptor methodInterceptor) {
        this.methodInterceptor = methodInterceptor;
    }

    public MethodMatcher getMethodMatcher() {
        return methodMatcher;
    }

    public void setMethodMatcher(MethodMatcher methodMatcher) {
        this.methodMatcher = methodMatcher;
    }


    public boolean isProxyTargetClass() {
        return proxyTargetClass;
    }

    public void setProxyTargetClass(boolean proxyTargetClass) {
        this.proxyTargetClass = proxyTargetClass;
    }
}
